Thermal properties of matter